<#import "/spring.ftl" as spring />
<#import "/inspector-time-macros.ftl" as imacro />
<html>
<head>
	<link rel="stylesheet" type="text/css" href="<@spring.url "/content_pane.css" />" />
	<title>Additional Services</title>
</head>
<body>
<div id="content">

<h1>ADDITIONAL SERVICE</h1>

<#if optionalService.id??>
	<p>Please edit any of the fields below and click "SAVE" to change the Additional Service's information.</p>
<#else>
	<p>Please enter the Additional Service's information below and click "SAVE".</p>
</#if>

	<p>The Additional Service will show up in a list of "Additional Services" that a Home Buyer can select while scheduling an inspection.</p>

	<@imacro.listErrors "optionalService" />

<form action="editOptionalService.html" method="post">
	<@spring.formHiddenInput "optionalService.id" />
	<div class="formElement"><label>TITLE<span class="required">*</span></label><@spring.formInput "optionalService.title", 'size="50"'/></div>
	<div class="formElement"><label>SERVICE FEE<span class="required">*</span></label><@spring.formInput "optionalService.price", 'size="50"'/></div>
	<div class="formElement"><label>DESCRIPTION</label><@spring.formInput "optionalService.description", 'size="100"'/></div>
	<br class="clearBoth" />
	<input type="submit" value="SAVE" class="formButton"/>
	<a href="optionalServices.html" class="formLink">-CANCEL-</a>
	<#if optionalService.id??>
		<a href="optionalServiceDelete.html?id=${optionalService.id}" class="formLink">-DELETE-</a>
	</#if>
</form>

</div>
</body>
</html>
